package com.huamao.zh.constants;

/**
 * 功能说明：华宝营业额类型 Author：spring Date：2017/11/20 11:19
 */
public enum KaiyuanTurnoverType {

	// 1营业额获得 2营业额赎回退还 3营业额赎回手续费和税率退还
	// 31营业额赎回 32营业额赎回手续费和税率 33购买库存积分支出 34购买库存积分的手续费和税率支出
	// 35商城商家营业额购买库存积分支出 36商城商家营业额购买库存积分手续费支出

	Turnover_in(1, "营业额获得"), Turnover_out_refund(2, "营业额赎回退还"), Turnover_out_refund_fee(3,
			"营业额赎回手续费和税率退还"), Turnover_out(31, "营业额赎回"), Turnover_out_fee(32, "营业额赎回手续费和税率"), Buy_score(33,
					"购买库存积分支出"), Buy_score_fee(34, "购买库存积分的手续费和税率支出"), Turnover_buy_score(35,
							"商城商家营业额购买库存积分支出"), Turnover_buy_score_fee(36, "商城商家营业额购买库存积分手续费支出");

	/**
	 * 功能编码
	 */
	private Integer code;

	/**
	 * 功能名称
	 */
	private String name;

	KaiyuanTurnoverType(Integer code, String name) {
		this.code = code;
		this.name = name;
	}

	public Integer getCode() {
		return code;
	}

	public KaiyuanTurnoverType setCode(Integer code) {
		this.code = code;
		return this;
	}

	public String getName() {
		return name;
	}

	public KaiyuanTurnoverType setName(String name) {
		this.name = name;
		return this;
	}
}
